package org.opsli.modulars.business.patrolRouteRecord.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.opsli.modulars.business.patrolRouteRecord.entity.DailyInspectionReport;

import java.util.List;

@Mapper
public interface DailyInspectionReportMapper extends BaseMapper<DailyInspectionReport> {
    //    巡检日报表
    public List getDailyReport(String devid);

    public List getPatrolPoint(String devid);

    public List getUserRoute(String devid, String user_name, String lastTime_BEGIN);

    public List getUserPoint(String devid, String user_name, String lastTime_BEGIN);

    public List searchUserRoute(String devid, String user_name);

    public List searchUserPoint(String devid, String user_name);

    //    巡检月报表
    public List getMonthReport(String devid);

    public List getMonthPoint(String devid);

    public List getMonthUserRoute(String devid, String user_name, String lastTime_BEGIN);

    public List getMonthUserPoint(String devid, String user_name, String lastTime_BEGIN);

    public List searchMonthUserRoute(String devid, String user_name);

    public List searchMonthUserPoint(String devid, String user_name);

}
